// // Learn TypeScript:
// //  - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// // Learn Attribute:
// //  - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// // Learn life-cycle callbacks:
// //  - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html

// import orc_event from "../../scripts/orc/orc_event";
// import panel, { panel_zindex } from "../../scripts/orc/panel/panel";
// import PanelDefine from "../../scripts/orc/PanelDefine";
// import PanelManager from "../../scripts/orc/PanelManager";
// import panel_loading from "../panel_loading/panel_loading";
// import panel_hallBinder from "./panel_hall/panel_hallBinder";
// import UI_panel_hall from "./panel_hall/UI_panel_hall";
// const { ccclass, property } = cc._decorator;

// @ccclass
// export default class panel_hall extends panel.panel {
//     panel_name: string = 'panel_hall';
//     prefab_url: string[] = ["panel_hall", "panel_hall"];              //1:包名,2为组件名
//     server_data: any = {};             //初始数据
//     zindex: string = panel_zindex.panelLayer;
//     _view: UI_panel_hall;

//     onLoad() {
//         console.log('panel onload', this.server_data);
//         panel_hallBinder.bindAll();
//         this._view = UI_panel_hall.createInstance();
//         this._view.makeFullScreen();
//         // getLayer().addChild
//         this.node.addChild(this._view.node);
//         this._view.m_test_label.text = 'okasd'

//         this._view.getChildAt(2).onClick(this.runDemo, this);

//         // this._view.m_btn_test.on(cc.Node.EventType.TOUCH_END, this.btn_handle.bind(this, 'btn_rank')); //排行榜
//         // this._view.m_btn_test.asButton.onClick(this.runDemo, this);
//         // this._view.getChildAt(2).asButton.onClick(this.runDemo, this);

//         this._view.m_btn_test.onClick(this.runDemo, this);


//     }

//     btn_handle(btn_name) {
//         console.log(btn_name);


//     }

//     runDemo() {
//         console.log('aaa');

//     }

//     onEnable() {

//     }


// }
